package com.bluesky.plum.validate.validator;

import java.lang.annotation.Annotation;

public enum ValidatorType {
	GreaterThan, EqualOrGreaterThan, LessThan, EqualOrLessThan, NotEqual, GreaterThanInteger, EqualOrGreaterThanInteger, NotEqualInteger, RangeInteger, RegExp, Required {
		@Override
		Validator loadFromAnnotation(Annotation annotation) {

			Validator v = new RequiredValidator();
			return v;
		}
	};

	Validator loadFromAnnotation(Annotation annotation) {
		return null;
	}

}
